<%@ taglib prefix="security" uri="http://www.springframework.org/security/tags" %>
	<!-- This code written by Willie Wheeler, John Wheeler and Zeeshan Maqbool -->
	<!-- For 'Spring In Practice' [Book written by Willie Wheeler and John Wheeler] -->

<div>
	<a href="index.jsp">Home</a>
	<security:authorize ifAllGranted="ROLE_ADMIN">
		| <a href="admin.jsp">Admin</a>
	</security:authorize>
	<security:authorize ifAllGranted="ROLE_ANONYMOUS">
		| <a href="spring_security_login">Login</a>
	</security:authorize>
	<security:authorize ifAnyGranted="ROLE_STUDENT,ROLE_ADMIN">
		| <a href="studentlounge.jsp">Student Lounge</a>
	</security:authorize>
	<security:authorize ifAnyGranted="ROLE_FACULTY,ROLE_ADMIN">
		| <a href="facultylounge.jsp">Faculty Lounge</a>
	</security:authorize>
	<security:authorize ifNotGranted="ROLE_ANONYMOUS">
		| <a href="settings.jsp">Settings</a>
		| <a href="j_spring_security_logout">Logout</a>
	</security:authorize>
</div>
